﻿using Unity.VisualScripting;
using UnityEngine;

public class StartController : MonoBehaviour
{
    [SerializeField] private GameObject StartGame;
    [SerializeField] private GameObject StartScene;
    [SerializeField] private GameObject StartPlayer;

    private void Start()
    {
        if(PatientCount.Instance.patientIndex != 0)
        {
            StartGame.SetActive(true);
            StartScene.SetActive(true);
            StartPlayer.SetActive(true);
            gameObject.SetActive(false);
        }

    }
    public void GameStart()
    {
        if(PatientCount.Instance.patientIndex == 0)
        {
            gameObject.SetActive(false);
            StartGame.SetActive(true);
        }
    }
}
